﻿from pymongo import Connection
from datetime import datetime
from datetime import timedelta

import random

connection = Connection()
db = connection.weatherDB

periods = db.periods

for period in periods.find():
	print(period)